﻿using System;
using System.Collections.Generic;
using UnityEngine;

public class Consts
{
    /// <summary>
    /// 保存数据的路径，在不同的平台会自动选择不一样的路径
    /// </summary>
    public static readonly string DataPath = Application.dataPath + @"\data.xml";
}
/// <summary>
/// View事件
/// </summary>
public enum ViewEvent
{
    View_ChangeMultiple,
    CompeletDeal,
    DealThreeCard,
    RegisterPlay,
    SuccessedPlayCard,
    CompletePlayCard,
    GameSuccessed,
    ReStartGame,
    UpdataIntegration
}
public enum CommandEvent
{
    Command_ChangeMultiple,
    Command_RegisterDeal,
    Command_DealCard,
    Command_Grab,
    Command_DesGrab,
    Command_PlayCard,
    Command_Pass,
    Command_Successed,
    Command_UpdataIntegration,
}
/// <summary>
/// 面板类型
/// </summary>
public enum PanelType
{
    StartPanel,
    BackGroudPanel,
    CharacterPanel,
    InteractionPanel,
    GameOverPanel
}
/// <summary>
/// 角色类型
/// </summary>
public enum CharacterType
{
    Library = 0,//牌库
    Player =1,//玩家
    ComputerRight = 2,//右电脑
    ComputerLeft = 3,//左电脑
    Desk = 4//桌子
}
/// <summary>
/// 牌的花色 
/// </summary>
public enum Colors
{
    None,
    Club,//梅花
    Spade,//黑桃
    Heart,//红心
    Square//方块
}
/// <summary>
/// 卡牌的权值
/// </summary>
public enum Weight
{
    Three,
    Four,
    Five,
    Six,
    Seven,
    Eight,
    Nine,
    Ten,
    Jack,
    Queen,
    King,
    One,
    Two,
    SJoker,
    LJoker
}
/// <summary>
///出牌类型
/// </summary>
public enum CardType
{
    None,
    Single,//单
    Double,//双
    Straight,//顺子
    DoubleStraight,//双顺
    TripleStraight,//三顺
    Three,//三不带
    ThreeAndOne,//三带一
    ThreeAndTwo,//三代二
    Boom,//炸弹
    JokerBoom//王炸
}
/// <summary>
/// 角色身份
/// </summary>
public enum Identity
{
    Farmer,//农民
    Landlord//地主
}

